package com.pucong.gitee.database.backup.common.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
* @author pucong
* @company gitee.com/pucong
* @create 2020-12-01
*/
@Data
@ApiModel("登录vo")
public class UserLoginVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "账号不能为空")
    @ApiModelProperty("账号")
    private String loginName;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;
}
